// app.js
const mtjwxsdk = require("@/miniprogram/utils/mtj-wx-sdk.js");
App({
   data: {

   },
   onLoad: function (params) {
      this.getnetworkStatus()
      this.getscreenfun()
   },
   globalData: {
      screeHeight:0,
      orderCount: [{id:0,count:0}],
      carCount:0,
      config: {
         userID: '111', // User ID
         SECRETKEY: '137735cfc782dc384fa296d9fc909a47f7d8420bcb313314de6d7ae6d7a2f1bb', // Your secretKey
         SDKAPPID: 1600059169, // Your SDKAppID
         EXPIRETIME: 604800,
      },
   },
  async getscreenfun(){
   this.globalData.screeHeight = wx.getWindowInfo().windowHeight
  },
   onSDKReady(event) {
      // 监听到此事件后可调用 SDK 发送消息等 API，使用 SDK 的各项功能。
   },





   "functionalPages": {
      "independent": true
   }
})
